export class Singleton {
    private static _instance: any = null;
 
    public static get Instance() {
        if (this._instance == null) {
            this._instance = new this();
        }
        return this._instance;
    }

    static clear(){
        Singleton._instance = null;
    }
}